Skip to content

Instantly share code, notes, and snippets.

@kazzohikaru
kazzohikaru / dual-wave-text-animation.markdown
Created April 13, 2026 18:58
Dual wave text animation
@rohitg00
rohitg00 / llm-wiki.md
Last active April 13, 2026 18:56 — forked from karpathy/llm-wiki.md
LLM Wiki v2 — extending Karpathy's LLM Wiki pattern with lessons from building agentmemory

LLM Wiki v2

A pattern for building personal knowledge bases using LLMs. Extended with lessons from building agentmemory, a persistent memory engine for AI coding agents.

This builds on Andrej Karpathy's original LLM Wiki idea file. Everything in the original still applies. This document adds what we learned running the pattern in production: what breaks at scale, what's missing, and what separates a wiki that stays useful from one that rots.

What the original gets right

The core insight is correct: stop re-deriving, start compiling. RAG retrieves and forgets. A wiki accumulates and compounds. The three-layer architecture (raw sources, wiki, schema) works. The operations (ingest, query, lint) cover the basics. If you haven't read the original, start there.

@kazzohikaru
kazzohikaru / index.html
Created April 13, 2026 18:56
Text circle animation (CSS only)
<!-- css only version of https://tympanus.net/codrops/2025/02/03/building-an-on-scroll-3d-circle-text-animation-with-three-js-and-shaders/ -->
<!-- scroll delay via https://www.bram.us/2023/10/23/css-scroll-detection/ -->
<ul>
<li><span>A</span><span>u</span><span>r</span><span>o</span><span>r</span><span>a</span></li>
<li><span>L</span><span>u</span><span>l</span><span>l</span><span>a</span><span>b</span><span>y</span></li>
<li><span>L</span><span>a</span><span>b</span><span>y</span><span>r</span><span>i</span><span>n</span><span>t</span><span>h</span></li>
<li><span>I</span><span>d</span><span>y</span><span>l</span><span>l</span><span>i</span><span>c</span></li>
<li><span>F</span><span>e</span><span>l</span><span>i</span><span>c</span><span>i</span><span>t</span><span>y</span></li>
<li><span>D</span><span>e</span><span>m</span><span>u</span><span>r</span><span>e</span></li>
@sorend
sorend / Update firwmware WD Black SN770 firmware on Arch Linux.md
Last active April 13, 2026 18:56
Update firmware WD Black SN770 firmware on Arch Linux

Update firmware WD Black SN770 firmware on Arch Linux

Been having problems with my new SN770 drive, and decided to check if I can firmware update it on Linux. WD only provides a Windows tool, Western Digital Dashboard to download and install firmwares, but, it's possible to find the firmware and install it using Linux tooling as well.

1. Check that nvme-cli is installed:

❱ sudo pacman -S nvme-cli
@Incipiens
Incipiens / lcc.sh
Created March 20, 2026 16:10
This is my script that I use for launching an instance of Claude Code using my local LLM, and it was written for an XDA article. Save it, edit the IP and port, and mark as executable to use.
#!/usr/bin/env bash
# lcc - Local Claude Code launcher
# Points Claude Code at a local LLM served by llama.cpp on your GB10 device
#
# Usage:
# lcc <modelname> — launch Claude Code with the specified model
# lcc <modelname> [args] — pass additional arguments to claude
# lcc — show help/launch with model if one is available
#
# Prerequisites:
/* preventScrollWhenSoftKeyboardAppearsIfThereIsPlentyOfRoom(event)
*
* Attach this handler to `touchstart` on any UI control that brings up the keyboard when you don't want iOS
* MobileSafari to scroll when a user taps it. Assumes that the input is near the top of the page and the user has
* not scrolled down (specific to my case, sorry!)
*
* requires top-level CSS directives so we can add it to the body:
* ```
* .prevent-ios-focus-scrolling {
* position: fixed;

AJ's Blog Template (ex: Markdown Cheat Sheet)

"Markdown Cheatsheet Background Image"

Markdown is a standardized format for creating web pages and documentation, modeled after the way that people stylize plain-text.

TL;DR

"TL;DR" is a technical term that means "Too Long; Didn't Read". I recommend adding a TL;DR section to all documentation that you create, with the most concise instructions, without much or any explanation, as a quick copy-and-paste or quick-reference example.

@kazzohikaru
kazzohikaru / index.html
Created April 13, 2026 18:52
Quasar · fragment glow
<div id="info">⚡ QUASAR <span>3</span> · core distortion</div>
<div id="glitch-hint">// shader field · time warps</div>
<!-- fragment shader source (exactly as given, with minor GLSL adaptions for web) -->
<script type="x-shader/x-fragment" id="fragmentShaderCode">
precision highp float;
uniform vec2 iResolution;
uniform float iTime;
@aolszowka
aolszowka / Program.cs
Created January 7, 2019 14:13
Using Roslyn to Mass Format a Solution (No .editorconfig support)
namespace TestRosylnFormatter
{
using Microsoft.Build.Locator;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Formatting;
using Microsoft.CodeAnalysis.Formatting;
using Microsoft.CodeAnalysis.MSBuild;
using Microsoft.CodeAnalysis.Options;
using System;
using System.IO;